import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:untitled1/main/privoder/PrivoderMain.dart';

import 'MainPage.dart';

// void main() {
//   runApp(MyApp());
// }
void main() => runApp(
  MultiProvider(
    providers: [
      ChangeNotifierProvider(create: (_) => PageAState()),
      ChangeNotifierProvider(create: (_) => PageBState()),
      ChangeNotifierProvider(create: (_) => PageCState()),
    ],
    child: MyApp2(),
  ),
);


class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MainPage(),
    );
  }
}
